/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/14.
	 */
	var SelectDropDown = __webpack_require__(13);
	var DatePicker = __webpack_require__(38);
	var Progress = __webpack_require__(33);
	var RealName = __webpack_require__(1);
	var DatePickerSearch = __webpack_require__(46);
	var FinanceRecord = __webpack_require__(35);
	var Pagination = __webpack_require__(26);
	var Root = React.createClass({displayName: "Root",
	    getInitialState: function () {
	        return{
	            realName: PageDM.realNameInfo.value,
	            investRecord: PageDM.investRecord.value,
	            stautsOption: PageDM.stautsOption.value.options,
	            pageVal: PageDM.pagination.value
	        }
	    },
	    componentDidMount: function(){
	        var _this = this;
	        var PageDM = window.PageDM;

	        UEventHub.on(PageDM.investRecord.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.updateInvestRecordHandler(v);
	        });
	        UEventHub.on(PageDM.datePickerSearch.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){

	        });
	        UEventHub.on(PageDM.stautsOption.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            // console.log(_this.refs.stautsOption.getCurrentSelect());
	            console.log(v)
	            _this.updateInvestRecordHandler(v);
	        });
	        //个人实名信息
	        UEventHub.on(PageDM.realNameInfo.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){

	            _this.updateRealNameInfoHandler(v);
	        });
	        UEventHub.on(PageDM.pagination.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.setState({
	                pageVal: v
	            });
	        });
	        var stausSelect = _this.refs.stautsOption.getCurrentSelect();
	        PageDM.stautsOption.setValue(stausSelect);
	        PageDM.stautsOption.getCurrentSelect = function () {
	            return _this.refs.stautsOption.getCurrentSelect();
	        };
	        UEventHub.emit("pageLoad","hello world!");
	    },
	    DatePickerChange: function (start,end) {
	        PageDM.datePickerSearch.setValue({startTime:start,endTime:end});
	        PageDM.datePickerSearch.onChange(start,end);
	    },
	    searchChange: function (v) {
	        PageDM.stautsOption.setValue(v);
	        PageDM.stautsOption.onChange(v);
	    },
	    pageClick:function (v) {
	        PageDM.pagination.setValue({curPage:v});
	        PageDM.pagination.onClick(v);
	    },
	    updateRealNameInfoHandler: function (v) {
	        this.setState({
	            realName:v
	        })
	    },
	    updateInvestRecordHandler: function (v) {
	        this.setState({
	            investRecord:v
	        })
	    },
	    render: function () {
	        var _this = this;
	        var PageDM = window.PageDM;
	        var investRecordDom = [];

	        if(this.state.investRecord.list.length > 0){
	            investRecordDom.push(React.createElement(FinanceRecord, {data: this.state.investRecord.list}))
	        }else {
	            if(this.state.investRecord.noPrecedent == -1){
	                investRecordDom.push('')
	            }else if(this.state.investRecord.noPrecedent){
	                investRecordDom.push(
	                    React.createElement("div", {className: "nodata"}, 
	                        React.createElement("i", {className: "bg-3"}), "您还没有在本平台成功融资过，如果有需要，现在前往 ", React.createElement("a", {href: PageDM.investRecord.goFinanceUrl, className: "fc-link"}, " 我要借款"), " 进入融资流程！"
	                    )
	                )
	            }else{
	                investRecordDom.push(
	                    React.createElement("div", {className: "nodata"}, 
	                        React.createElement("i", {className: "bg-1"}), "暂无融资记录"
	                    )
	                )
	            }
	        }

	        return (
	            React.createElement("div", null, 

	                React.createElement("div", {className: "mod-account container"}, 
	                    React.createElement("div", {className: "sub-nav", ref: "realName"}, 
	                        React.createElement(RealName, {data: this.state.realName})
	                    ), 
	                    React.createElement("div", {className: "account"}, 
	                        React.createElement("div", {className: "record-select"}, 
	                            React.createElement("div", {className: "title-account"}, React.createElement("span", null, "融资记录")), 
	                            React.createElement("div", {className: "select clearfix"}, 
	                                React.createElement(DatePickerSearch, React.__spread({},  PageDM.datePickerSearch.value, {onChange: this.DatePickerChange})), 
	                                React.createElement(SelectDropDown, {ref: "stautsOption", className: "drapdown", defaultValue: PageDM.stautsOption.value.selectValue, defaultIndex: PageDM.stautsOption.value.selectIndex, options: this.state.stautsOption, onChange: _this.searchChange})

	                            )
	                        ), 
	                        React.createElement("div", {className: "investment-record financing", ref: "investRecord"}, 
	                            investRecordDom
	                        ), 
	                        React.createElement(Pagination, {pageVal: _this.state.pageVal, onClick: this.pageClick})
	                    ), 
	                    React.createElement("div", {className: "clear"})

	                )
	            )
	        )
	    }
	});
	ReactDOM.render(React.createElement(Root, null), document.getElementById('giraffe'));

/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {

	/*
	 * Created by Administrator on 2017/3/31.
	 */

	var Tooltip = __webpack_require__(2);
	var RealName = React.createClass({displayName: "RealName",
	    getDefaultProps: function() {
	        return{
	            data:{
	                IsNew:0, //是否有新消息
	                AccType:0,
	                Mobile:"",  //手机
	                IsBindMobile:"",//是否绑定手机
	                BindMobileUrl:"",//绑定手机链接
	                IsBindIDCard:"",//是否验证身份
	                BindIDCardUrl:"",//验证身份链接
	                IsBindBankCard:"",//是否绑卡
	                BindBankCardUrl:"",//绑卡链接
	                Current:"InvestAccount",  //当前选中菜单
	                InvestAccountUrl:"",//账户总览链接
	                InvestListUrl:"",//投资记录链接
	                MyBankCardUrl:"",//我的银行卡链接
	                InvestInfoUrl:"",//投资个人信息
	                InvestMessageUrl:"",//投资消息中心
	                FinanceAccountUrl:"",//账户总览链接
	                FinanceListUrl:"",//融资记录链接
	                FinanceAccountInfoUrl:"",//融资账号信息
	                FinanceMessageUrl:""//融资消息中心
	            }
	        }
	    },
	    getInitialState:function () {
	        return {
	            data:this.props.data
	        }
	    },
	    componentDidMount:function(){
	    },
	    render: function () {
	        return (
	            React.createElement("div", null, 
	                React.createElement("div", {className: "info", ref: "realName"}, 
	                        React.createElement("div", {className: "face"}, React.createElement("img", {src: "../content/images/account/face.jpg", alt: ""}), this.state.data.Mobile), 
	                    this.state.data.AccType ? "" :
	                        React.createElement("div", {className: "bind"}, 
	                            React.createElement(Tooltip, {title: this.state.data.IsBindMobile ? "已绑定手机" : "未绑定手机"}, React.createElement("a", {href: this.state.data.BindMobileUrl ? this.state.data.BindMobileUrl : 'javascript:;'}, React.createElement("i", {className: "iconfont icon-phone1 tooltip "+ (this.state.data.IsBindMobile ? "ok" : "")}))), 
	                            React.createElement(Tooltip, {title: this.state.data.IsBindIDCard ? "已绑定身份证" : "未绑定身份证"}, React.createElement("a", {href: this.state.data.BindIDCardUrl ? this.state.data.BindIDCardUrl : 'javascript:;'}, React.createElement("i", {className: "iconfont icon-idcard2 tooltip "+ (this.state.data.IsBindIDCard ? "ok" : "")}))), 
	                            React.createElement(Tooltip, {title: this.state.data.IsBindBankCard ? "已绑定银行卡" : "未绑定银行卡"}, React.createElement("a", {href: this.state.data.BindBankCardUrl ? this.state.data.BindBankCardUrl : 'javascript:;'}, React.createElement("i", {className: "iconfont icon-bankcard tooltip "+ (this.state.data.IsBindBankCard ? "ok" : "")})))
	                        )
	                    
	                ), 
	                React.createElement("div", {className: "nav"}, 
	                    this.state.data.AccType ? React.createElement("ul", null, 
	                            React.createElement("li", null, React.createElement("a", {href: this.state.data.FinanceAccountUrl, className: this.state.data.Current == "FinanceAccount" ? "current": ""}, React.createElement("i", {className: "icon-loan iconfont"}), "账户总览")), 
	                            React.createElement("li", null, React.createElement("a", {href: this.state.data.FinanceListUrl, className: this.state.data.Current == "FinanceList" ? "current": ""}, React.createElement("i", {className: "icon-card iconfont"}), "融资记录")), 
	                            React.createElement("li", null, React.createElement("a", {href: this.state.data.FinanceAccountInfoUrl, className: this.state.data.Current == "FinanceAccountInfo" ? "current": ""}, React.createElement("i", {className: "icon-personal iconfont"}), "账号信息")), 
	                            React.createElement("li", null, React.createElement("a", {href: this.state.data.FinanceMessageUrl, className: this.state.data.Current == "FinanceMessage" ? "current": ""}, React.createElement("i", {className: "icon-news iconfont"}), "消息中心", this.state.data.IsNew ? React.createElement("b", null) : '')), " ")
	                          : React.createElement("ul", null, React.createElement("li", null, React.createElement("a", {href: this.state.data.InvestAccountUrl, className: this.state.data.Current == "InvestAccount" ? "current": ""}, " ", React.createElement("i", {className: "icon-loan iconfont"}), "账户总览")), 
	                        React.createElement("li", null, React.createElement("a", {href: this.state.data.InvestListUrl, className: this.state.data.Current == "InvestList" ? "current": ""}, " ", React.createElement("i", {className: "icon-record iconfont"}), "投资记录")), 
	                        React.createElement("li", null, React.createElement("a", {href: this.state.data.FinanceListUrl, className: this.state.data.Current == "FinanceList" ? "current": ""}, React.createElement("i", {className: "icon-card iconfont"}), "融资记录")), 
	                        React.createElement("li", null, React.createElement("a", {href: this.state.data.MyBankCardUrl, className: this.state.data.Current == "MyBankCard" ? "current": ""}, " ", React.createElement("i", {className: "icon-card iconfont"}), "我的银行卡")), 
	                        React.createElement("li", null, React.createElement("a", {href: this.state.data.InvestInfoUrl, className: this.state.data.Current == "InvestInfo" ? "current": ""}, " ", React.createElement("i", {className: "icon-personal iconfont"}), "个人信息")), 
	                        React.createElement("li", null, React.createElement("a", {href: this.state.data.InvestMessageUrl, className: this.state.data.Current == "InvestMessage" ? "current": ""}, " ", React.createElement("i", {className: "icon-news iconfont"}), "消息中心", this.state.data.IsNew ? React.createElement("b", null) : ''))
	                    )
	                ), 
	                React.createElement("div", {className: "qrcode"}, 
	                    React.createElement("p", {className: "ss"}, "扫一扫，立马赚钱", React.createElement("b", {className: "bg-icon"})), 
	                    React.createElement("img", {src: "../content/images/qrcode.jpg", alt: ""})
	                )
	            )
	        )
	    }
	})

	module.exports = RealName;

/***/ },
/* 2 */
/***/ function(module, exports) {

	/**
	 *
	 * @constructs
	 */
	var Tooltip = React.createClass({displayName: "Tooltip",
	    _addEventListener:function(obj,ev,fn){
			obj.addEventListener ? obj.addEventListener(ev,fn,false) : obj.attachEvent("on" + ev,fn)
	    },
	    _removeEventListener: function (obj, ev, fn) {
	        obj.removeEventListener ? obj.removeEventListener(ev, fn, false) : obj.detachEvent("on" + ev, fn)
	    },
		getDefaultProps: function() {
			return {
				container: document.body,
				position: 'top',
				fixed: true,
				space: 5
			}
		},
		componentDidMount: function() {
			this.container = this.props.container || document.body;
			this.componentEl = this.refs.tooltipbox;
			this.tooltipEl = document.createElement('div');

			var tooltipArrowEl = document.createElement('div');
			tooltipArrowEl.className = 'ucs-tooltip-arrow';

			var tooltipContentEl = document.createElement('div');
			tooltipContentEl.className = 'ucs-tooltip-inner';
			tooltipContentEl.innerHTML = this.props.title;

			this.tooltipEl.appendChild(tooltipArrowEl);
			this.tooltipEl.appendChild(tooltipContentEl);
			this.tooltipEl.className = 'ucs-tooltip ' + this.props.position;
			this.container.appendChild(this.tooltipEl);
			this.resetTooltip();
			var _componentEl =  this.componentEl;
			this._addEventListener(_componentEl, this.props.fixed ? 'mouseenter' : 'mousemove', this.handleMouseMove.bind(this));
			this._addEventListener(_componentEl, 'mouseleave', this.handleMouseOut.bind(this));
		},

		resetTooltip: function() {
			this.tooltipEl.style.left = '-500px';
			this.tooltipEl.style.top = '-500px';
			this.tooltipEl.style.visibility = "hidden";
		},

		handleMouseMove: function(e) {
			if(!this.props.title) {
				return;
			}

			var tooltipPosition = this.getTooltipPosition(e);
			var tooltipOffset = this.getTooltipOffset();

			this.tooltipEl.style.left = tooltipPosition.x + tooltipOffset.x + 'px';
			this.tooltipEl.style.top = tooltipPosition.y + tooltipOffset.y + 'px';
			this.tooltipEl.style.visibility = "visible";
		},

		handleMouseOut: function() {
			this.resetTooltip();
		},
		//定位到标签的位置
		getTooltipPosition: function(e) {
			var pointX;
			var pointY;
			var bodyRect = document.body.getBoundingClientRect();
			var containerRect = this.container.getBoundingClientRect();
			var containerOffsetX = containerRect.left - bodyRect.left;
			var containerOffsetY = containerRect.top - bodyRect.top;
			if(this.props.fixed) {
				var componentRect = this.componentEl.getBoundingClientRect();
				var componentOffsetX = componentRect.left - containerOffsetX;
				var componentOffsetY = componentRect.top - containerOffsetY;
				var componentWidth = this.componentEl.offsetWidth;
				var componentHeight = this.componentEl.offsetHeight;
				var cOffsetX = 0;
				var cOffsetY = 0;
				switch(this.props.position) {
					case 'top':
						cOffsetX = componentWidth / 2;
						cOffsetY = 0;
						break;
					case 'right':
						cOffsetX = componentWidth;
						cOffsetY = componentHeight / 2;
						break;
					case 'bottom':
						cOffsetX = componentWidth / 2;
						cOffsetY = componentHeight;
						break;
					case 'left':
						cOffsetX = 0;
						cOffsetY = componentHeight / 2;
						break;
				}
				pointX = componentOffsetX + cOffsetX + (window.scrollX || window.pageXOffset || document.documentElement.scrollLeft || 0);
				pointY = componentOffsetY + cOffsetY + (window.scrollY || window.pageYOffset || document.documentElement.scrollTop || 0);
			} else {
				var clientX = e.clientX;
				var clientY = e.clientY;
				pointX = clientX - containerOffsetX + (window.scrollX || window.pageXOffset || document.documentElement.scrollLeft || 0);
				pointY = clientY - containerOffsetY + (window.scrollY || window.pageYOffset || document.documentElement.scrollTop || 0);
			}
			return {
				x: pointX,
				y: pointY
			};
		},
		//获取偏移量
		getTooltipOffset: function() {
			var tooltipW = this.tooltipEl.offsetWidth;
			var tooltipH = this.tooltipEl.offsetHeight;
			var offsetX = 0;
			var offsetY = 0;
			switch(this.props.position) {
				case 'top':
					offsetX = -(tooltipW / 2);
					offsetY = -(tooltipH + Number(this.props.space));
					break;
				case 'right':
					offsetX = Number(this.props.space);
					offsetY = -(tooltipH / 2);
					break;
				case 'bottom':
					offsetX = -(tooltipW / 2);
					offsetY = Number(this.props.space);
					break;
				case 'left':
					offsetX = -(tooltipW + Number(this.props.space));
					offsetY = -(tooltipH / 2);
					break;
			}
			return {
				x: offsetX,
				y: offsetY
			};
		},
		render: function() {
			return (
			    React.createElement("div", {ref: "tooltipbox", className: this.props.className?("ucs-tooltip-wrap "+this.props.className):"ucs-tooltip-wrap"}, this.props.children)
	        )
		}
	});

	module.exports = Tooltip;

/***/ },
/* 3 */,
/* 4 */,
/* 5 */,
/* 6 */,
/* 7 */,
/* 8 */,
/* 9 */,
/* 10 */,
/* 11 */,
/* 12 */,
/* 13 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/24.
	 */
	var closeOpen = function(){
	    var _open = document.getElementsByClassName('open')[0];
	    if(_open){
	        var _classArr = _open.className.split(" ");
	        for(var i in _classArr){
	            if(_classArr[i] == "open"){
	                _classArr.splice(i,1);
	            }
	        }
	        var _className = _classArr.join(" ");
	        _open.className = _className;
	    }
	}
	EventListener.addEventHandler(document,"onclick",function (e) {
	    closeOpen();
	});

	var SelectDropDown = React.createClass({displayName: "SelectDropDown",
	    getDefaultProps: function () {
	        return {
	            id:"",
	            value: "",//默认初始值
	            className: "",
	            disabled:false,
	            type: "", //三种类型，bank,search
	            showNum: "",
	            showTitle:true,  //显示title
	            options: "",
	            defaultValue: "请选择",
	            defaultIndex:null,
	            searchButton: "",
	            placeholder: "",
	            inputChange: "",//搜索时输入框回调
	            buttonClick: "",//搜索时按钮回调
	            _dmid: new UDM({}).dmbind /*为每个 select-dropdown 创建udmid*/
	        }
	    },
	    getInitialState:function(){
	        return{
	            options: this.props.options,
	            currentIdx:this.props.defaultIndex,
	            currentValue:null,
	            currentText:'',
	            _className:this.props.className ? "ucs-select-dropdown "+ this.props.className : "ucs-select-dropdown"
	        }
	    },
	    setOptions:function (v) {
	        this.setState({
	            options:v
	        })
	    },
	    componentDidMount:function () {
	        var defaultIndex = this.props.defaultIndex;
	        var defaultValue = this.props.defaultValue;
	        var indexOptin,valueOption;
	        if(typeof defaultIndex =='number' && this.state.options[defaultIndex]){
	            this.setState({
	                currentIdx:defaultIndex,
	                currentText: this.state.options[defaultIndex].option,
	                currentValue: this.state.options[defaultIndex].value
	            });

	        }else if(defaultValue) {
	            this.state.options.map(function (item,index) {
	                if(item.value == defaultValue){
	                    indexOptin = index;
	                }
	            });
	            valueOption = (typeof indexOptin == "number") ? this.state.options[indexOptin].option : defaultValue;
	            this.setState({
	                currentIdx:indexOptin,
	                currentValue:defaultValue,
	                currentText: valueOption
	            });
	        }else {
	            this.setState({
	                currentText: '请选择'
	            });
	        }

	    },
	    _toggle:function(ref,e){
	        if(this.props.disabled){
	            return;
	        }

	        var _current = this.refs[this.props._dmid];
	        var e = e || window.event;
	        //console.log(e)
	        if(e && e.stopPropagation){
	            //因此它支持W3C的stopPropagation()方法
	            e.stopPropagation();
	        }else{
	            //否则我们使用ie的方法来取消事件冒泡
	            window.event.cancelBubble = true;
	        }
	        this.setState({
	            _className:this._toggleOpen(_current.className)
	        })
	    },
	    _toggleOpen: function(_class){
	        closeOpen();
	        var _classList = _class.split(" ");
	        var j = 0;
	        for(var i=0; i<_classList.length;i++){
	            if(_classList[i] == "open"){
	                j = i;
	            }
	        }
	        if(j){
	            _classList.splice(j,1);
	        }else{
	            _classList.push('open');
	        }
	        _classList = _classList.join(" ");
	        return _classList;
	    },
	    _select:function(idx,val,ref){
	        var _node = this.refs[ref],
	            _input = this.refs[ref + '-control'];
	        // _node.className = this._toggleOpen(_node.className);
	        this.setState({
	            _className:this._toggleOpen(_node.className)
	        })
	        _input.innerHTML = this.state.options[idx].option;

	        this.state.currentIdx = idx;
	        if(val.value){
	            this.setState({
	                currentText: val.option,
	                currentValue: val.value
	            });
	        }else{
	            this.setState({
	                currentText: val.option,
	                currentValue: idx
	            });
	        }

	        var _v = this.getCurrentSelect();
	        this.props.onChange ? this.props.onChange(_v) : "";
	    },
	    getCurrentSelect:function(){
	        return {
	            selectIndex:this.state.currentIdx,
	            selectValue:this.state.currentValue,
	            selectText:this.state.currentText
	        }
	    },
	    /*下拉选项列表*/
	    selectList: function(){
	        var _lis = [],_that = this;
	        for(var i=0; i<this.state.options.length;i++){
	            (function(j,val,ref){
	                if(_that.props.showTitle){
	                    _lis.push(
	                        React.createElement("li", {title: _that.state.options[j].option, onClick: _that._select.bind(_that,j,val,ref)}, 
	                            _that.state.options[j].option
	                        )
	                    );
	                }else{
	                    _lis.push(
	                        React.createElement("li", {onClick: _that._select.bind(_that,j,val,ref)}, 
	                            _that.state.options[j].option
	                        )
	                    );
	                }

	            })(i,this.state.options[i],this.props._dmid);
	        }
	        return React.createElement("ul", null, _lis)
	    },
	    render:function(){
	        /*判断defaultValue是否是数字，“是”则代表默认显示第几个选项*/
	        var defaultValue = this.state.currentText;
	        var _class = this.props.disabled?this.state._className+" ucs-disabled":this.state._className;
	        return (
	            React.createElement("div", {className: _class, ref: this.props._dmid}, 
	                React.createElement("div", {className: "ucs-select-control", ref: this.props._dmid + '-select-click', onClick: this._toggle.bind(this,this.props._dmid + '-select-click')}, 
	                    React.createElement("div", {className: "ucs-input", ref: this.props._dmid + '-control', title: this.props.showTitle ? this.state.currentText : ''}, this.state.currentText), 
	                    React.createElement("span", {className: "ucs-icon"})
	                ), 
	                React.createElement("div", {className: "ucs-dropdown"}, 
	                    React.createElement("div", {className: "ucs-dropdown-border"}, 
	                         this.selectList.bind(this)() 
	                    )
	                )
	            )
	        )
	    }
	});
	module.exports = SelectDropDown;

/***/ },
/* 14 */,
/* 15 */,
/* 16 */,
/* 17 */,
/* 18 */,
/* 19 */,
/* 20 */,
/* 21 */,
/* 22 */,
/* 23 */,
/* 24 */,
/* 25 */,
/* 26 */
/***/ function(module, exports) {

	/**
	 * Created by Administrator on 2017/4/11.
	 */
	var Pagination = React.createClass({displayName: "Pagination",
	    getDefaultProps: function () {
	      return {
	          pageVal:{}
	      }
	    },
	    getInitialState: function () {
	        return{
	            curPage:this.props.pageVal.curPage
	        }
	    },
	    onClick: function (curPage) {
	        this.setState({curPage:curPage});
	        this.props.onClick && this.props.onClick(curPage);
	    },
	    render: function(){
	        var _this = this;
	        var pageVal = _this.props.pageVal;
	        var curPage = _this.state.curPage;
	        var div = [];
	        if(pageVal.totalPage > 1 && pageVal.totalPage <= 7){
	            for(var i = 0; i <= pageVal.totalPage+1; i++){
	                var a = document.createElement("a");
	                a.setAttribute("href","javascript:;");
	                if(i==0){
	                    a.innerHTML = "&lt;";
	                    if(curPage > 1){
	                        a.onclick = function(){
	                            _this.onClick(curPage-1);
	                        };
	                    }else{
	                        a.className = "pagination-disabled";
	                    }
	                }else if(i == pageVal.totalPage+1){
	                    a.innerHTML = "&gt;";
	                    if(curPage < pageVal.totalPage){
	                        a.onclick = function(){
	                            _this.onClick(curPage+1);
	                        };
	                    }else{
	                        a.className = "pagination-disabled";
	                    }
	                }else{
	                    a.innerHTML = i;
	                    (function(ii){
	                        a.onclick = function(){
	                            _this.onClick(ii);
	                        };
	                    })(i);
	                    if(i == curPage){
	                        a.className = "current";
	                    }
	                }
	                div.push(a);
	            }
	        }else if(pageVal.totalPage > 7){
	            var dotIndex = 0;
	            if(curPage<=5 || (pageVal.totalPage - curPage) <= 4 ){
	                if((curPage - 1) < (pageVal.totalPage - curPage)){
	                    dotIndex = 6;
	                }else{
	                    dotIndex = 2;
	                }
	            }
	            for(var i = 0; i < 9; i++){
	                var a = document.createElement("a");
	                a.setAttribute("href","javascript:;");
	                if(i==0){
	                    a.innerHTML = "&lt;";
	                    if(curPage > 1){
	                        a.onclick = function(){
	                            _this.onClick(curPage-1);
	                        };
	                    }else{
	                        a.className = "pagination-disabled";
	                    }
	                }else if(i == 8){
	                    a.innerHTML = "&gt;";
	                    if(curPage < pageVal.totalPage){
	                        a.onclick = function(){
	                            _this.onClick(curPage+1);
	                        };
	                    }else{
	                        a.className = "pagination-disabled";
	                    }
	                }else{
	                    if(dotIndex == 0){
	                        if(i == 2 || i == 6){
	                            if(i == 2){
	                                a.onclick = function(){
	                                    _this.onClick(curPage-3);
	                                };
	                                a.className = "jump-prev";
	                                a.setAttribute("title","Previous 3 Pages");
	                            }else if(i == 6){
	                                a.onclick = function(){
	                                    _this.onClick(curPage+3);
	                                };
	                                a.className = "jump-next";
	                                a.setAttribute("title","Next 3 Pages");
	                            }
	                        }else{
	                            if(i == 1){
	                                a.innerHTML = 1;
	                                a.onclick = function(){
	                                    _this.onClick(1);
	                                };
	                            }else if(i == 7){
	                                a.innerHTML = pageVal.totalPage;
	                                a.onclick = function(){
	                                    _this.onClick(pageVal.totalPage);
	                                };
	                            }else if(i == 3){
	                                a.innerHTML = curPage-1;
	                                a.onclick = function(){
	                                    _this.onClick(curPage-1);
	                                };
	                            }else if(i == 4){
	                                a.innerHTML = curPage;
	                                a.onclick = function(){
	                                    _this.onClick(curPage);
	                                };
	                                a.className = "current";
	                            }else if(i == 5){
	                                a.innerHTML = curPage+1;
	                                a.onclick = function(){
	                                    _this.onClick(curPage+1);
	                                };
	                            }
	                        }
	                    }else if(dotIndex == 2){
	                        if(i == dotIndex){
	                            a.onclick = function(){
	                                _this.onClick(curPage-3);
	                            };
	                            a.className = "jump-prev";
	                            a.setAttribute("title","Previous 3 Pages");
	                        }else{
	                            if(i == 1){
	                                a.innerHTML = 1;
	                                a.onclick = function(){
	                                    _this.onClick(1);
	                                };
	                            }else{
	                                a.innerHTML = (pageVal.totalPage-(7-i));
	                                (function(i){
	                                    a.onclick = function(){
	                                        _this.onClick(pageVal.totalPage-(7-i));
	                                    };
	                                })(i);
	                            }
	                        }
	                        if((pageVal.totalPage-(7-i)) == curPage){
	                            a.className = "current";
	                        }
	                    }else if(dotIndex == 6){
	                        if(i == dotIndex){
	                            a.onclick = function(){
	                                _this.onClick(curPage+3);
	                            };
	                            a.className = "jump-next";
	                            a.setAttribute("title","Next 3 Pages");
	                        }else{
	                            if(i == 7){
	                                a.innerHTML = pageVal.totalPage;
	                                a.onclick = function(){
	                                    _this.onClick(pageVal.totalPage);
	                                };
	                            }else{
	                                a.innerHTML = i;
	                                (function(i){
	                                    a.onclick = function(){
	                                        _this.onClick(i);
	                                    };
	                                })(i);
	                            }
	                        }
	                        if(i == curPage){
	                            a.className = "current";
	                        }
	                    }
	                }
	                div.push(a);
	            }
	        }
	        return (
	            React.createElement("div", {className: "pagination"}, 
	                div
	            )
	        )
	    }
	});

	module.exports = Pagination;

/***/ },
/* 27 */,
/* 28 */,
/* 29 */,
/* 30 */,
/* 31 */,
/* 32 */,
/* 33 */
/***/ function(module, exports) {

	/**
	 * 
	 * @constructs 
	 */
	var Progress = React.createClass({displayName: "Progress",
	    getDefaultProps: function() {
	        return {
	            type: 'line',
	            showInfo: true,
	            percent: 0
	        };
	    },
	    render: function(){
	        var showInfo = this.props.showInfo;
	        var info;
	        var infoPos = this.props.infoPosition;
	        var textProps = {};

	        if(showInfo){
	            if(infoPos){
	                typeof (infoPos) == 'object'? (
	                    textProps.style = infoPos
	                ):(
	                    textProps.style = {left:+this.props.percent + "%"}
	                )
	            }
	            textProps.className = 'ucs-progress-text';
	            if("format" in this.props){
	                info = React.createElement("span", {className: textProps.className, style: textProps.style}, this.props.format);
	            }else{
	                info = React.createElement("span", {className: textProps.className, style: textProps.style}, this.props.percent, "%");
	            }
	        }
	        var pClass = this.props.className? 'ucs-progress '+this.props.className:'ucs-progress';
	        return (
	            React.createElement("div", {className: pClass}, 
	                React.createElement("div", {className: "ucs-progress-inner"}, 
	                    React.createElement("span", {className: "ucs-progress-bg", style: {width:+this.props.percent + "%"}})
	                ), 
	                info
	            )
	        )
	    }
	});

	module.exports = Progress;

/***/ },
/* 34 */,
/* 35 */
/***/ function(module, exports, __webpack_require__) {

	/*
	 * Created by Administrator on 2017/3/31.
	 */
	var Progress = __webpack_require__(36);
	var FinanceRecord = React.createClass({displayName: "FinanceRecord",
	    getDefaultProps: function () {
	        return {
	            data: []

	        }
	    },
	    getInitialState:function () {
	        return {
	            data:this.props.data
	        }
	    },
	    componentDidMount: function () {

	    },
	    render: function () {
	        return (
	            React.createElement("div", null, 
	                this.state.data.map(function (item, index) {
	                    var financeStatusText = '';
	                    var detailUrl = 'javascript:void(0)'
	                    var F_Status = Number(item.F_Status);
	                    switch (F_Status) {
	                        case 1:
	                            financeStatusText = '还款中';
	                            detailUrl = item.FinancingUrl;
	                            break;
	                        case 2:
	                            financeStatusText = '还款完成';
	                            detailUrl = item.FinancingUrl;
	                            break;
	                        case 3:
	                            financeStatusText = '融资完成';
	                            detailUrl = item.ProjectUrl;
	                            break;
	                        case 4:
	                            financeStatusText = '投标中';
	                            detailUrl = item.ProjectUrl;
	                            break;
	                        case 5:
	                            financeStatusText = '预热中';
	                            detailUrl = item.ProjectUrl;
	                            break;
	                        case 6:
	                            financeStatusText = '项目流标';
	                            break;
	                    }
	                    var Amount = Number(item.Amount),_moreOver = false;
	                    if(Amount < 10000){
	                        Amount = UFormatter.formatMoney(Amount, 2);
	                    }else{
	                        Amount = UFormatter.formatMoney(Amount / 10000, 2);
	                        _moreOver = true;
	                    }
	                    return (
	                        React.createElement("div", {className: "item"}, 
	                            React.createElement("h3", null, item.ProjectName, 
	                                React.createElement("span", {className: "tag "+((F_Status == 1 || F_Status == 2 || F_Status == 3) ? "tag-red" : (F_Status == 6 ? "tag-grey" : "tag-yellow" ))}, financeStatusText)
	                            ), 
	                            React.createElement("ul", {className: "clearfix"}, 
	                                React.createElement("li", null, "融资金额：", React.createElement("b", null, Amount), _moreOver?"万元":"元"), 
	                                React.createElement("li", null, "融资利率：", React.createElement("b", null, item.FinanceRate), "%"), 
	                                React.createElement("li", null, "融资期限：", item.Duration, "天"), 
	                                React.createElement("li", null, "还款日期：", item.RepayBegin)
	                            ), 
	                            React.createElement("a", {href: detailUrl, className: "detail"}, "融资详情>>"), 
	                            React.createElement("div", {className: "progress-rate"}, 
	                                /*<p className="progress"><span>30%</span><b><i></i></b></p><p>1000元起投</p>*/
	                                React.createElement(Progress, {className: "progress", type: "line", percent: item.Progress})
	                            )
	                        )
	                    )
	                })
	            )
	        )
	    }
	})

	module.exports = FinanceRecord;

/***/ },
/* 36 */
/***/ function(module, exports) {

	/**
	 * 
	 * @constructs 
	 */
	var Progress = React.createClass({displayName: "Progress",
	    getDefaultProps: function() {
	        return {
	            type: 'line',
	            showInfo: true,
	            percent: 0
	        };
	    },
	    render: function(){
	        var showInfo = this.props.showInfo;
	        var info;
	        var infoPos = this.props.infoPosition;
	        var textProps = {};

	        if(showInfo){
	            if(infoPos){
	                typeof (infoPos) == 'object'? (
	                    textProps.style = infoPos
	                ):(
	                    textProps.style = {left:+this.props.percent + "%"}
	                )
	            }
	            textProps.className = 'ucs-progress-text';
	            if("format" in this.props){
	                info = React.createElement("span", {className: textProps.className, style: textProps.style}, this.props.format);
	            }else{
	                info = React.createElement("span", {className: textProps.className, style: textProps.style}, this.props.percent, "%");
	            }
	        }
	        var pClass = this.props.className? 'ucs-progress '+this.props.className:'ucs-progress';
	        return (
	            React.createElement("div", {className: pClass}, 
	                React.createElement("div", {className: "ucs-progress-inner"}, 
	                    React.createElement("span", {className: "ucs-progress-bg", style: {width:+this.props.percent + "%"}})
	                ), 
	                info
	            )
	        )
	    }
	});

	module.exports = Progress;

/***/ },
/* 37 */,
/* 38 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/2/20.
	 */
	module.exports = __webpack_require__(39);

/***/ },
/* 39 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/2/22.
	 */
	var MyDate = __webpack_require__(40);
	var Calendar = __webpack_require__(41);
	var DatePicker = React.createClass({displayName: "DatePicker",
	    getDefaultProps:function(){
	        return{
	            curDate: "",
	            placeholder: "请选择日期",
	            name: "",
	            format: "yyyy-mm-dd"
	        }
	    },
	    getInitialState: function () {
	        return {

	        }
	    },
	    componentDidMount: function(){

	    },
	    renderLayer: function(){
	        var scrollTop=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;
	        var scrollLeft=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;
	        var style = {top:+ (this.refs["ucs-calendar-picker-input"].getBoundingClientRect().top+scrollTop)+"px",
	            left:+(this.refs["ucs-calendar-picker-input"].getBoundingClientRect().left+scrollLeft)+"px"};
	        return (
	            React.createElement("div", null, 
	                React.createElement(Calendar, {curDate: this.refs['ucs-calendar-picker-input'].value, maxDate: this.props.maxDate, minDate: this.props.minDate, callBack: this.callBack.bind(this), style: style, time: this.props.time})
	            )
	        );
	    },
	    _renderLayer: function() {
	        var layerElement = this.renderLayer();

	        if (layerElement === null) {
	            ReactDOM.render(React.createElement("noscript", null), this._layer);
	        } else {
	            ReactDOM.render(layerElement, this._layer);
	        }
	    },
	    clickHandler: function(e){
	        if(e&&e.stopPropagation){
	            //因此它支持W3C的stopPropagation()方法
	            e.stopPropagation();
	        }else{
	            //否则我们使用ie的方法来取消事件冒泡
	            window.event.cancelBubble = true;
	        }
	        if(document.getElementById("datePickerLayerId")){
	            document.body.removeChild(document.getElementById("datePickerLayerId"));
	        }
	        this._layer = document.createElement('div');
	        this._layer.id = "datePickerLayerId";
	        document.body.appendChild(this._layer);
	        this._renderLayer();
	        /*if (document.addEventListener) {
	            document.addEventListener('click', this.onDocumentClick.bind(this));
	        } else {
	            document.attachEvent('click', this.onDocumentClick.bind(this));
	        }*/
	        EventListener.addEventHandler(document,'onclick',this.onDocumentClick.bind(this));
	    },
	    onDocumentClick: function(){
	        /*if(this._layer){
	         document.body.removeChild(this._layer);
	         this._layer = null;
	         }*/
	        if(document.getElementById("datePickerLayerId")){
	            document.body.removeChild(document.getElementById("datePickerLayerId"));
	            this._layer = null;
	        }
	    },
	    callBack: function(curDate,curTime){
	        if(this.props.format.indexOf("-")>0){
	            if(this.props.time){
	                this.refs["ucs-calendar-picker-input"].value = curDate.replace(/\//g,"-")+" "+curTime;
	            }else{
	                this.refs["ucs-calendar-picker-input"].value = curDate.replace(/\//g,"-");
	            }
	        }else{
	            if(this.props.time){
	                this.refs["ucs-calendar-picker-input"].value = curDate+" "+curTime;
	            }else{
	                this.refs["ucs-calendar-picker-input"].value = curDate;
	            }
	        }
	        if(this._layer){
	            document.body.removeChild(this._layer);
	            this._layer = null;
	        }
	        if(this.props.onchange){
	            this.props.onchange(this.refs["ucs-calendar-picker-input"].value);
	        }
	    },
	    getValue: function(){
	        return this.refs['ucs-calendar-picker-input'].value;
	    },
	    mouseOverHandler: function(){
	       if(this.refs['ucs-calendar-picker-input'].value!=""){
	           MyDate.removeClass(this.refs['ucs-calendar-picker-icon'],'icon-rili');
	           MyDate.addClass(this.refs['ucs-calendar-picker-icon'],'icon-error');
	       }
	    },
	    mouseOutHandler: function(){
	        MyDate.removeClass(this.refs['ucs-calendar-picker-icon'],'icon-error');
	        MyDate.addClass(this.refs['ucs-calendar-picker-icon'],'icon-rili');
	    },
	    clearValue: function(){
	        if(MyDate.hasClass(this.refs['ucs-calendar-picker-icon'],'icon-error')){
	            this.refs['ucs-calendar-picker-input'].value = "";
	            if(this.props.onchange){
	                this.props.onchange(this.refs["ucs-calendar-picker-input"].value);
	            }
	            MyDate.removeClass(this.refs['ucs-calendar-picker-icon'],'icon-error');
	            MyDate.addClass(this.refs['ucs-calendar-picker-icon'],'icon-rili');
	        }else{
	            this.clickHandler();
	        }
	    },
	    _handle: function (e) {
	        var _nodeSpan = e.target || e.srcElement;
	        _nodeSpan.className = "ucs-calendar-placeholder hide";
	        this.clickHandler();
	    },
	    _placeholder: function (_this) {
	        if (!('placeholder' in document.createElement('input'))&&!_this.props.curDate) {
	            return (
	                React.createElement("span", {className: "ucs-calendar-placeholder", onClick: _this._handle}, _this.props.placeholder)
	            );
	        } else {
	            return "";
	        }
	    },
	    render: function() {
	        var _this = this;
	        return (
	            React.createElement("span", {className: "ucs-calendar-picker"}, 
	                React.createElement("span", {onMouseover: _this.mouseOverHandler.bind(_this), onMouseout: _this.mouseOutHandler.bind(_this)}, 
	                    React.createElement("input", {value: _this.props.curDate, placeholder: _this.props.placeholder, name: _this.props.name, ref: "ucs-calendar-picker-input", className: "ucs-calendar-picker-input", onClick: _this.clickHandler.bind(_this)}), 
	                    React.createElement("span", {onClick: _this.clearValue.bind(_this), ref: "ucs-calendar-picker-icon", className: "ucs-calendar-picker-icon iconfont icon-rili"})
	                ), 
	                _this._placeholder(_this)
	            )
	        );
	    }
	})

	module.exports = DatePicker;

/***/ },
/* 40 */
/***/ function(module, exports) {

	/*
	 * Created by Administrator on 2017/2/10.
	 */
	Date.prototype.format = function (format) {
	    var o =
	    {
	        "M+": this.getMonth() + 1, //month
	        "d+": this.getDate(), //day
	        "h+": this.getHours(), //hour
	        "m+": this.getMinutes(), //minute
	        "s+": this.getSeconds(), //second
	        "q+": Math.floor((this.getMonth() + 3) / 3), //quarter
	        "S": this.getMilliseconds() //millisecond
	    }

	    if (/(y+)/.test(format)) {
	        format = format.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
	    }

	    for (var k in o) {
	        if (new RegExp("(" + k + ")").test(format)) {
	            format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length));
	        }
	    }
	    return format;
	};

	var jeDt = {}, doc = document, ymdMacth = /\w+|d+/g;

	//判断类型
	jeDt.isType = function(obj, type) {
	    type = type.replace(/\b(\w)|\s(\w)/g, function(m) {
	        return m.toUpperCase();
	    });
	    return Object.prototype.toString.call(obj) === "[object " + type + "]";
	};
	//循环
	jeDt.each = function(obj, fn) {
	    if (jeDt.isType(obj, "array")) {
	        for (var i = 0, len = obj.length; i < len; i++) {
	            if (fn.call(obj[i], i, obj[i]) === false) break;
	        }
	    } else {
	        for (var key in obj) {
	            if (obj.hasOwnProperty(key)) {
	                if (fn.call(obj[key], key, obj[key]) === false) break;
	            }
	        }
	    }
	};
	//获取与设置自定义属性
	jeDt.attr = function(elem, key, val) {
	    if (typeof key === "string" && typeof val === "undefined") {
	        return elem.getAttribute(key);
	    } else {
	        elem.setAttribute(key, val);
	    }
	    return this;
	};
	jeDt.stopmp = function(e) {
	    e = e || window.event;
	    e.stopPropagation ? e.stopPropagation() :e.cancelBubble = true;
	    return this;
	};
	//查询样式是否存在
	jeDt.hasClass = function(elem, cls) {
	    elem = elem || {};
	    return new RegExp("\\b" + cls + "\\b").test(elem.className);
	};
	//添加样式
	jeDt.addClass = function(elem, cls) {
	    elem = elem || {};
	    jeDt.hasClass(elem, cls) || (elem.className += " " + cls);
	    elem.className = elem.className.replace(/^\s|\s$/g, "").replace(/\s+/g, " ");
	    return this;
	};
	//删除样式
	jeDt.removeClass = function(elem, cls) {
	    elem = elem || {};
	    if (jeDt.hasClass(elem, cls)) {
	        elem.className = elem.className.replace(new RegExp("(\\s|^)" + cls + "(\\s|$)"), "");
	    }
	    return this;
	};
	//获取样式
	jeDt.getStyle = function(elem, style) {
	    var cssVal = document.defaultView ? window.getComputedStyle(elem, null)[style] : elem.currentStyle[style];
	    return cssVal;
	}
	jeDt.isShow = function(elem, bool) {
	    elem.style.display = bool != true ? "none" :"block";
	};
	//获取与设置HTML
	jeDt.html = function(elem, value) {
	    if (typeof value != "undefined" || value !== undefined && elem.nodeType === 1) {
	        elem.innerHTML = value;
	    } else {
	        return elem.innerHTML;
	    }
	    return this;
	};
	//获取与设置文本
	jeDt.text = function(elem, value) {
	    if (value !== undefined && elem.nodeType === 1) {
	        document.all ? elem.innerText = value :elem.textContent = value;
	    } else {
	        var emText = document.all ? elem.innerText :elem.textContent;
	        return jeDt.trim(emText);
	    }
	    return this;
	};
	//获取与设置value
	jeDt.val = function(elem, value) {
	    if (value !== undefined && elem.nodeType === 1) {
	        elem.value = value;
	    } else {
	        return jeDt.trim(elem.value);
	    }
	    return this;
	};
	jeDt.bind = function(elObj, type, fn) {
	    type = type.toLowerCase();
	    var bindevent = function (elem) {
	        elem.attachEvent ? elem.attachEvent("on" + type, function() {
	            fn.call(elem, window.type);
	        }) :elem.addEventListener(type, fn, false);
	    }
	    return elObj == document ? bindevent(document) :jeDt.each(elObj, function(i, elem) {
	        bindevent(elem);
	    });
	};
	jeDt.docScroll = function(type) {
	    type = type ? "scrollLeft" :"scrollTop";
	    return doc.body[type] | doc.documentElement[type];
	};
	jeDt.winarea = function(type) {
	    return doc.documentElement[type ? "clientWidth" :"clientHeight"];
	};
	//判断是否闰年
	jeDt.isLeap = function(y) {
	    return (y % 100 !== 0 && y % 4 === 0) || (y % 400 === 0);
	}
	//获取本月的总天数
	jeDt.getDaysNum = function(y, m) {
	    var num = 31;
	    switch (parseInt(m)) {
	        case 2:
	            num = jeDt.isLeap(y) ? 29 : 28; break;
	        case 4: case 6: case 9: case 11:
	        num = 30; break;
	    }
	    return num;
	}
	//获取月与年
	jeDt.getYM = function(y, m, n) {
	    var nd = new Date(y, m - 1);
	    nd.setMonth(m - 1 + n);
	    return {
	        y: nd.getFullYear(),
	        m: nd.getMonth() + 1
	    };
	}
	//获取上个月
	jeDt.getPrevMonth = function(y, m, n) {
	    return  jeDt.getYM(y, m, 0 - (n || 1));
	}
	//获取下个月
	jeDt.getNextMonth = function(y, m, n) {
	    return jeDt.getYM(y, m, n || 1);
	}
	//补齐数位
	jeDt.digit = function(num) {
	    return num < 10 ? "0" + (num | 0) :num;
	};
	//判断是否为数字
	jeDt.IsNum = function(str){
	    return (str!=null && str!="") ? !isNaN(str) : false;
	};
	jeDt.getLocalTime = function (timestamp, formatStr) {
	    var date;
	    var str;
	    if (timestamp != null) {
	        date = new Date(timestamp);
	    } else {
	        date = new Date();
	    }
	    if (formatStr == null) {
	        str = Date.parse(date);
	    } else {
	        str = date.format(formatStr);
	    }
	    return str;
	}
	//计算距离指定日期diff天的日期
	jeDt.getDiffDate = function (date, diff) {
	    var number = null;
	    var curdate = null;
	    if (diff == null || diff == 0) {
	        number = 0;
	    } else {
	        number = diff;
	    }

	    if (date == null) {
	        curdate = new Date();
	    } else {
	        curdate = new Date(date);
	    }

	    var myday_milliseconds = curdate.getTime() + 1000 * 60 * 60 * 24 * number;
	    var targetdate = jeDt.getLocalTime(myday_milliseconds, 'yyyy/MM/dd');
	    return targetdate;
	};
	//获取date1~date2之间的日期数组
	jeDt.getDateArr = function (date1, date2) {
	    var dateArr = [];
	    var diff = 0;

	    var aDate, oDate1, oDate2, iDays, startDate, endDate;
	    aDate = date1.split("/");
	    oDate1 = new Date(aDate[1] + '/' + aDate[2] + '/' + aDate[0]);  //转换为yyyy-MM-dd格式
	    aDate = date2.split("/");
	    oDate2 = new Date(aDate[1] + '/' + aDate[2] + '/' + aDate[0]);
	    iDays = parseInt((oDate1 - oDate2) / 1000 / 60 / 60 / 24); //把相差的毫秒数转换为天数

	    if (iDays >= 0) {//date1大于date2情况
	        startDate = date2;
	        endDate = date1;
	    } else {
	        startDate = date1;
	        endDate = date2;
	    }

	    while (jeDt.getDiffDate(startDate, diff) != endDate) {
	        dateArr.push(jeDt.getDiffDate(startDate, diff));
	        diff++;
	    }
	    dateArr.push(endDate);

	    return dateArr;
	}
	//转换日期格式
	jeDt.parse = function(ymd, hms, format) {
	    ymd = ymd.concat(hms);
	    var hmsCheck = jeDt.parseCheck(format, false).substring(0, 5) == "hh:mm", num = 2;
	    return format.replace(/YYYY|MM|DD|hh|mm|ss/g, function(str, index) {
	        var idx = hmsCheck ? ++num :ymd.index = ++ymd.index | 0;
	        return jeDt.digit(ymd[idx]);
	    });
	};
	jeDt.parseCheck = function(format, bool) {
	    var ymdhms = [];
	    format.replace(/YYYY|MM|DD|hh|mm|ss/g, function(str, index) {
	        ymdhms.push(str);
	    });
	    return ymdhms.join(bool == true ? "-" :":");
	};
	jeDt.checkFormat = function(format) {
	    var ymdhms = [];
	    format.replace(/YYYY|MM|DD|hh|mm|ss/g, function(str, index) {
	        ymdhms.push(str);
	    });
	    return ymdhms.join("-");
	};
	jeDt.parseMatch = function(str) {
	    var timeArr = str.split(" ");
	    return timeArr[0].match(ymdMacth);
	};
	//验证日期
	jeDt.checkDate = function (date) {
	    var dateArr = date.match(ymdMacth);
	    if (isNaN(dateArr[0]) || isNaN(dateArr[1]) || isNaN(dateArr[2])) return false;
	    if (dateArr[1] > 12 || dateArr[1] < 1) return false;
	    if (dateArr[2] < 1 || dateArr[2] > 31) return false;
	    if ((dateArr[1] == 4 || dateArr[1] == 6 || dateArr[1] == 9 || dateArr[1] == 11) && dateArr[2] > 30) return false;
	    if (dateArr[1] == 2) {
	        if (dateArr[2] > 29) return false;
	        if ((dateArr[0] % 100 == 0 && dateArr[0] % 400 != 0 || dateArr[0] % 4 != 0) && dateArr[2] > 28) return false;
	    }
	    return true;
	}
	jeDt.trim = function(text) {
	    return text.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
	}
	//初始化日期
	jeDt.nowDate = function(num, format) {
	    format = format || 'YYYY-MM-DD hh:mm:ss';
	    if(typeof num === "string"){
	        var newDate = new Date(parseInt(num) * 1e3);
	    }else{
	        num = num | 0;
	        var newDate = new Date(), todayTime = newDate.getTime() + 1000*60*60*24*num;
	        newDate.setTime(todayTime);
	    }
	    var years = newDate.getFullYear(), months = newDate.getMonth() + 1, days = newDate.getDate(), hh = newDate.getHours(), mm = newDate.getMinutes(), ss = newDate.getSeconds();
	    return jeDt.parse([ years, jeDt.digit(months), jeDt.digit(days) ], [ jeDt.digit(hh), jeDt.digit(mm), jeDt.digit(ss) ], format);
	};
	jeDt.montharr = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ];
	jeDt.montharrs = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ];
	jeDt.weeks = [ "日", "一", "二", "三", "四", "五", "六" ];
	//判断元素类型
	jeDt.isValHtml = function(that) {
	    return /textarea|input/.test(that.tagName.toLocaleLowerCase());
	};
	//节日
	jeDt.festival = function(md, n) {
	    var str = "";
	    switch (md) {
	        case "1.1": str = "元旦"; break;
	        case "2.14": str = "情人"; break;
	        case "3.8": str = "妇女"; break;
	        case "5.1": str = "劳动"; break;
	        case "6.1": str = "儿童"; break;
	        case "8.1": str = "建军"; break;
	        case "9.10": str = "教师"; break;
	        case "10.1": str = "国庆"; break;
	        case "12.24": str = "平安"; break;
	        case "12.25": str = "圣诞"; break;
	        default: str = n; break;
	    }
	    return str;
	};

	module.exports = jeDt;

/***/ },
/* 41 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/2/22.
	 */
	var CalendarPanel = __webpack_require__(42);
	var Calendar = React.createClass({displayName: "Calendar",
	    clickHandler: function(e){
	        if(e&&e.stopPropagation){
	            //因此它支持W3C的stopPropagation()方法
	            e.stopPropagation();
	        }else{
	            //否则我们使用ie的方法来取消事件冒泡
	            window.event.cancelBubble = true;
	        }
	    },
	    render: function() {
	        var _curDate = this.props.curDate == "" ? new Date() : new Date(this.props.curDate.replace(/-/g,"/"));
	        return (
	            React.createElement("div", {className: "ucs-calendar-picker-container ucs-calendar-picker-container-placement-topLeft", style: this.props.style, onClick: this.clickHandler.bind(this)}, 
	                React.createElement("div", {className: "ucs-calendar", tabindex: "0"}, 
	                    React.createElement(CalendarPanel, {curDate: _curDate, callBack: this.props.callBack, time: this.props.time, maxDate: this.props.maxDate, minDate: this.props.minDate})
	                )
	            )
	        );
	    }
	});

	module.exports = Calendar;

/***/ },
/* 42 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/2/22.
	 */
	var MyDate = __webpack_require__(40);
	var MonthPanel = __webpack_require__(43);
	var YearPanel = __webpack_require__(44);
	var CalendarPanel = React.createClass({displayName: "CalendarPanel",
	    getDefaultProps: function(){
	        return {
	            curDate : new Date()
	        }
	    },
	    getInitialState: function(){
	        return {
	            curDay: this.props.curDate.getDate(),
	            curMonth: this.props.curDate.getMonth()+1,
	            curMonthStr: MyDate.montharrs[this.props.curDate.getMonth()],
	            curYear: this.props.curDate.getFullYear(),
	            curHour: MyDate.digit(this.props.curDate.getHours()),
	            curMinute: MyDate.digit(this.props.curDate.getMinutes()),
	            curSecond: MyDate.digit(this.props.curDate.getSeconds())
	        }
	    },
	    componentDidMount: function(){
	        this.dateChangeHandler();
	        if(this.props.time){
	            this.timeChangeHandler();
	        }
	    },
	    dateChangeHandler: function(){
	        var _this = this;
	        var firstDay = _this.state.curYear+"/"+MyDate.digit(_this.state.curMonth)+"/1";//当前月的的第一天
	        var diff = parseInt(new Date(_this.state.curYear+"/"+MyDate.digit(_this.state.curMonth)+"/1").getDay())==0?-7:-parseInt(new Date(_this.state.curYear+"/"+MyDate.digit(_this.state.curMonth)+"/1").getDay());
	        var startDate = MyDate.getDiffDate(firstDay,diff);  //当前日历的开始日期
	        var endDate = MyDate.getDiffDate(startDate,41);   //当前日历的结束日期
	        var dateArr = MyDate.getDateArr(startDate,endDate);   //当前显示日期数组
	        //_this.refs["ucs-calendar-tbody"].innerHTML = "";
	        var element = _this.refs["ucs-calendar-tbody"];
	        while (element.firstChild) {
	            element.removeChild(element.firstChild);
	        }
	        for(var i = 0; i < dateArr.length; i=i+7){
	            var tr = document.createElement('tr');
	            tr.setAttribute("role","row");
	            for(var j = 0; j < 7 ; j ++){
	                var dd = i+j;
	                var ndate = new Date(dateArr[dd]);
	                var div = document.createElement('div');
	                div.className = "ucs-calendar-date";
	                div.setAttribute("aria-selected","false");
	                div.setAttribute("aria-disabled","false");
	                div.innerHTML = ndate.getDate();

	                var td = document.createElement('td');
	                td.setAttribute("role","gridcell");
	                td.setAttribute("title",dateArr[dd]);
	                if(((!!_this.props.maxDate) && (new Date(dateArr[dd]) > new Date(_this.props.maxDate.replace(/-/g,"/"))))||((!!_this.props.minDate) && (new Date(dateArr[dd]) < new Date(_this.props.minDate.replace(/-/g,"/"))))){
	                    if(ndate.getMonth()+2 == _this.state.curMonth || (ndate.getMonth()+2)%12 == _this.state.curMonth){
	                        td.className = "ucs-calendar-cell ucs-calendar-last-month-cell ucs-calendar-disabled-cell";
	                    }else if(ndate.getMonth()+1 == _this.state.curMonth){
	                        if(ndate.getDate()==_this.state.curDay){
	                            td.className = "ucs-calendar-cell ucs-calendar-selected-day ucs-calendar-disabled-cell";
	                        }else{
	                            td.className = "ucs-calendar-cell ucs-calendar-disabled-cell";
	                        }
	                    }else if(ndate.getMonth() == _this.state.curMonth || ndate.getMonth() == _this.state.curMonth%12){
	                        td.className = "ucs-calendar-cell ucs-calendar-next-month-btn-day ucs-calendar-disabled-cell";
	                    }
	                }else{

	                    (function(dd){
	                        td.onclick = function(){
	                            if(_this.props.time){
	                                _this.selectHandler(this,dateArr[dd]);
	                            }else{
	                                _this.props.callBack(dateArr[dd],"00:00:00");
	                            }
	                        };
	                    })(dd);

	                    if(ndate.getMonth()+2 == _this.state.curMonth || (ndate.getMonth()+2)%12 == _this.state.curMonth){
	                        td.className = "ucs-calendar-cell ucs-calendar-last-month-cell";
	                    }else if(ndate.getMonth()+1 == _this.state.curMonth){
	                        if(ndate.getDate()==_this.state.curDay){
	                            td.className = "ucs-calendar-cell ucs-calendar-selected-day";
	                        }else{
	                            td.className = "ucs-calendar-cell";
	                        }
	                    }else if(ndate.getMonth() == _this.state.curMonth || ndate.getMonth() == _this.state.curMonth%12){
	                        td.className = "ucs-calendar-cell ucs-calendar-next-month-btn-day";
	                    }
	                }

	                td.appendChild(div);

	                tr.appendChild(td);
	            }
	            _this.refs["ucs-calendar-tbody"].appendChild(tr);
	        }

	    },
	    timeChangeHandler: function(){
	        var _this = this;
	        for(var i = 0; i < 24; i ++){
	            var opt = document.createElement('option');
	            opt.setAttribute("value",MyDate.digit(i));
	            opt.innerHTML = MyDate.digit(i);
	            if(_this.state.curHour == i){
	                opt.setAttribute("selected","selected");
	            }
	            _this.refs['select-hour'].appendChild(opt);
	        }

	        for(var i = 0; i < 60; i ++){
	            var opt = document.createElement('option');
	            opt.setAttribute("value",MyDate.digit(i));
	            opt.innerHTML = MyDate.digit(i);
	            if(_this.state.curMinute == i){
	                opt.setAttribute("selected","selected");
	            }
	            _this.refs['select-minute'].appendChild(opt);
	        }

	        for(var i = 0; i < 60; i ++){
	            var opt = document.createElement('option');
	            opt.setAttribute("value",MyDate.digit(i));
	            opt.innerHTML = MyDate.digit(i);
	            if(_this.state.curSecond == i){
	                opt.setAttribute("selected","selected");
	            }
	            _this.refs['select-second'].appendChild(opt);
	        }
	    },
	    renderMonthPanel: function(){
	        return (
	            React.createElement(MonthPanel, {curYear: this.state.curYear, curMonth: this.state.curMonth, callBack: this.callBack.bind(this), monthPanel: this._monthPanel})
	        );
	    },
	    _renderMonthPanel: function(){
	        var monthPanelElement = this.renderMonthPanel();

	        if (monthPanelElement === null) {
	            ReactDOM.render(React.createElement("noscript", null), this._monthPanel);
	        } else {
	            ReactDOM.render(monthPanelElement,this._monthPanel);
	        }
	    },
	    monthClickHandler: function(){
	        this._monthPanel = document.createElement('div');
	        this._monthPanel.className = "ucs-calendar-month-panel";
	        document.getElementById("ucs-calendar-header").appendChild(this._monthPanel);

	        this._renderMonthPanel();
	    },
	    renderYearPanel: function(){
	        return (
	            React.createElement(YearPanel, {curYear: this.state.curYear, yearCallBack: this.yearCallBack.bind(this), yearPanel: this._yearPanel})
	        );
	    },
	    _renderYearPanel: function(){
	        var yearPanelElement = this.renderYearPanel();

	        if (yearPanelElement === null) {
	            ReactDOM.render(React.createElement("noscript", null), this._yearPanel);
	        } else {
	            ReactDOM.render(yearPanelElement,this._yearPanel);
	        }
	    },
	    yearClickHandler: function(){
	        this._yearPanel = document.createElement('div');
	        this._yearPanel.className = "ucs-calendar-year-panel";
	        document.getElementById("ucs-calendar-header").appendChild(this._yearPanel);

	        this._renderYearPanel();
	    },
	    callBack: function(curYear,curMonth){
	        this.state.curYear = curYear;
	        this.state.curMonth = curMonth+1;
	        this.state.curMonthStr = MyDate.montharrs[curMonth];
	        this.dateChangeHandler();
	        document.getElementById("ucs-calendar-month-select").innerHTML = this.state.curMonthStr;
	        document.getElementById("ucs-calendar-year-select").innerHTML = this.state.curYear;
	        document.getElementById("ucs-calendar-header").removeChild(this._monthPanel);
	    },
	    yearCallBack: function(curYear){
	        this.state.curYear = curYear;
	        this.dateChangeHandler();
	        document.getElementById("ucs-calendar-year-select").innerHTML = this.state.curYear;
	        document.getElementById("ucs-calendar-header").removeChild(this._yearPanel);
	    },
	    todayClickHandler: function(){
	        var nDate = new Date();
	        var today = nDate.getFullYear()+"/"+MyDate.digit(nDate.getMonth()+1)+"/"+MyDate.digit(nDate.getDate());
	        this.props.callBack(today);
	    },
	    prevMonthHandler: function(){
	        var prevMonth = this.state.curMonth == 1 ? 12 : this.state.curMonth-1;
	        var nYear = this.state.curMonth == 1 ? this.state.curYear-1 : this.state.curYear;
	        this.state.curMonth = prevMonth;
	        this.state.curMonthStr = MyDate.montharrs[prevMonth-1];
	        this.state.curYear = nYear;
	        this.dateChangeHandler();
	        this.innerHtmlChangeHandler();
	    },
	    nextMonthHandler: function(){
	        var nextMonth = this.state.curMonth == 12 ? 1 : parseInt(this.state.curMonth)+1;
	        var nYear = this.state.curMonth == 12 ? parseInt(this.state.curYear)+1 : this.state.curYear;
	        this.state.curMonth = nextMonth;
	        this.state.curMonthStr = MyDate.montharrs[nextMonth-1];
	        this.state.curYear = nYear;
	        this.dateChangeHandler();
	        this.innerHtmlChangeHandler();
	    },
	    prevYearHandler: function(){
	        this.state.curYear = this.state.curYear - 1;
	        this.dateChangeHandler();
	        this.innerHtmlChangeHandler();
	    },
	    nextYearHandler: function(){
	        this.state.curYear = parseInt(this.state.curYear) + 1;
	        this.dateChangeHandler();
	        this.innerHtmlChangeHandler();
	    },
	    innerHtmlChangeHandler: function(){
	        document.getElementById("ucs-calendar-month-select").innerHTML = this.state.curMonthStr;
	        document.getElementById("ucs-calendar-year-select").innerHTML = this.state.curYear;
	    },
	    selectHandler: function($this,curDateStr){
	        var trArr = this.refs['ucs-calendar-tbody'].childNodes;
	        for(var i = 0; i < trArr.length; i ++){
	            for(var j = 0; j < trArr[i].childNodes.length; j ++){
	                MyDate.removeClass(trArr[i].childNodes[j],"ucs-calendar-selected-day");
	            }
	        }
	        MyDate.addClass($this,"ucs-calendar-selected-day");
	        this.state.curDay = curDateStr.split("/")[2];
	        this.state.curMonth = curDateStr.split("/")[1];
	        this.state.curYear = curDateStr.split("/")[0];
	        this.state.curMonthStr = MyDate.montharrs[curDateStr.split("/")[1]-1]
	    },
	    hourHandler: function(){
	        this.state.curHour = this.refs['select-hour'].value
	    },
	    minuteHandler: function(){
	        this.state.curMinute = this.refs['select-minute'].value
	    },
	    secondHandler: function(){
	        this.state.curSecond = this.refs['select-second'].value
	    },
	    confirmBtnHandler: function(){
	        this.props.callBack(this.state.curYear+"/"+this.state.curMonth+"/"+this.state.curDay,this.state.curHour+":"+this.state.curMinute+":"+this.state.curSecond);
	    },
	    render: function() {
	        var _this = this;
	        var footer = "";
	        if(_this.props.time){
	            footer = (
	                React.createElement("span", {className: "ucs-calendar-footer-btn"}, 
	                    React.createElement("a", {className: "ucs-calendar-today-btn ucs-calendar-today-btn2", role: "button", onClick: _this.todayClickHandler.bind(_this)}, "Today"), 
	                    React.createElement("a", {className: "ucs-calendar-time-box"}, 
	                        React.createElement("select", {ref: "select-hour", onchange: _this.hourHandler.bind(_this)}
	                        ), 
	                        React.createElement("i", null, ":"), 
	                        React.createElement("select", {ref: "select-minute", onchange: _this.minuteHandler.bind(_this)}
	                        ), 
	                        React.createElement("i", null, ":"), 
	                        React.createElement("select", {ref: "select-second", onchange: _this.secondHandler.bind(_this)}
	                        )
	                    ), 
	                    React.createElement("a", {className: "ucs-calendar-confirm-btn", onClick: _this.confirmBtnHandler.bind(_this)}, "确定")
	                )
	            );
	        }else{
	            footer = (React.createElement("span", {className: "ucs-calendar-footer-btn"}, React.createElement("a", {className: "ucs-calendar-today-btn", role: "button", onClick: _this.todayClickHandler.bind(_this)}, "Today")));
	        }
	        return (
	            React.createElement("div", {className: "ucs-calendar-panel"}, 
	                React.createElement("div", {className: "ucs-calendar-input-wrap"}, 
	                    React.createElement("div", {className: "ucs-calendar-date-input-wrap"}, 
	                        React.createElement("input", {className: "ucs-calendar-input ", value: "", placeholder: ""})
	                    ), 
	                    React.createElement("a", {className: "ucs-calendar-clear-btn", role: "button", title: "Clear"})
	                ), 
	                React.createElement("div", {className: "ucs-calendar-date-panel"}, 
	                    React.createElement("div", {className: "ucs-calendar-header", id: "ucs-calendar-header"}, 
	                        React.createElement("div", {style: {position: "relative"}}, 
	                            React.createElement("a", {className: "ucs-calendar-prev-year-btn", role: "button", title: "Last year (Control + left)", onClick: _this.prevYearHandler.bind(_this)}), 
	                            React.createElement("a", {className: "ucs-calendar-prev-month-btn", role: "button", title: "Previous month (PageUp)", onClick: _this.prevMonthHandler.bind(_this)}), 
	                            React.createElement("span", {className: "ucs-calendar-my-select"}, 
	                                React.createElement("a", {className: "ucs-calendar-month-select", id: "ucs-calendar-month-select", role: "button", title: "Choose a month", onClick: _this.monthClickHandler.bind(_this)}, _this.state.curMonthStr), 
	                                React.createElement("a", {className: "ucs-calendar-year-select", id: "ucs-calendar-year-select", role: "button", title: "Choose a year", onClick: _this.yearClickHandler.bind(_this)}, _this.state.curYear)
	                            ), 
	                            React.createElement("a", {className: "ucs-calendar-next-month-btn", title: "Next month (PageDown)", onClick: _this.nextMonthHandler.bind(_this)}), 
	                            React.createElement("a", {className: "ucs-calendar-next-year-btn", title: "Next year (Control + right)", onClick: _this.nextYearHandler.bind(_this)})
	                        )
	                    ), 
	                    React.createElement("div", {className: "ucs-calendar-body"}, 
	                        React.createElement("table", {className: "ucs-calendar-table", cellspacing: "0", role: "grid"}, 
	                            React.createElement("thead", null, 
	                            React.createElement("tr", {role: "row"}, 
	                                React.createElement("th", {role: "columnheader", title: "Sun", className: "ucs-calendar-column-header"}, 
	                                    React.createElement("span", {className: "ucs-calendar-column-header-inner"}, "Su")
	                                ), 
	                                React.createElement("th", {role: "columnheader", title: "Mon", className: "ucs-calendar-column-header"}, 
	                                    React.createElement("span", {className: "ucs-calendar-column-header-inner"}, "Mo")
	                                ), 
	                                React.createElement("th", {role: "columnheader", title: "Tue", className: "ucs-calendar-column-header"}, 
	                                    React.createElement("span", {className: "ucs-calendar-column-header-inner"}, "Tu")
	                                ), 
	                                React.createElement("th", {role: "columnheader", title: "Wed", className: "ucs-calendar-column-header"}, 
	                                    React.createElement("span", {className: "ucs-calendar-column-header-inner"}, "We")
	                                ), 
	                                React.createElement("th", {role: "columnheader", title: "Thu", className: "ucs-calendar-column-header"}, 
	                                    React.createElement("span", {className: "ucs-calendar-column-header-inner"}, "Th")
	                                ), 
	                                React.createElement("th", {role: "columnheader", title: "Fri", className: "ucs-calendar-column-header"}, 
	                                    React.createElement("span", {className: "ucs-calendar-column-header-inner"}, "Fr")
	                                ), 
	                                React.createElement("th", {role: "columnheader", title: "Sat", className: "ucs-calendar-column-header"}, 
	                                    React.createElement("span", {className: "ucs-calendar-column-header-inner"}, "Sa")
	                                )
	                            )
	                            ), 
	                            React.createElement("tbody", {className: "ucs-calendar-tbody", ref: "ucs-calendar-tbody"}
	                            )
	                        )
	                    ), 
	                    React.createElement("div", {className: "ucs-calendar-footer"}, 
	                        footer
	                    )
	                )
	            )
	        );
	    }
	});

	module.exports = CalendarPanel;

/***/ },
/* 43 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/2/22.
	 */
	var YearPanel = __webpack_require__(44);
	var MonthPanel = React.createClass({displayName: "MonthPanel",
	    getDefaultProps: function(){
	        return {

	        }
	    },
	    getInitialState: function () {
	        return {
	            curYear: this.props.curYear
	        }
	    },
	    componentDidMount: function(){
	        this.monthChangeHandler();
	    },
	    monthChangeHandler: function(){
	        var _this = this;
	        var monthStrArr = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
	        //_this.refs["ucs-calendar-month-panel-tbody"].innerHTML = "";
	        var element = _this.refs["ucs-calendar-month-panel-tbody"];
	        while (element.firstChild) {
	            element.removeChild(element.firstChild);
	        }
	        for(var i = 0; i < monthStrArr.length; i=i+3){
	            var tr = document.createElement('tr');
	            tr.setAttribute("role","row");
	            for(var j = 0; j < 3 ; j ++){
	                var mon = i+j;
	                var td = document.createElement('td');
	                td.setAttribute("role","gridcell");
	                td.setAttribute("title",monthStrArr[mon]);

	                (function(mon){
	                    td.onclick = function(){
	                        _this.props.callBack(_this.state.curYear,mon);
	                    };
	                })(mon);

	                if(_this.state.curMonth-1 == mon){
	                    td.className = "ucs-calendar-month-panel-cell ucs-calendar-month-panel-selected-cell ucs-calendar-month-panel-current-cell";
	                }else{
	                    td.className = "ucs-calendar-month-panel-cell";
	                }
	                var a = document.createElement('a');
	                a.className = "ucs-calendar-month-panel-month";
	                a.innerHTML = monthStrArr[mon];
	                td.appendChild(a);

	                tr.appendChild(td);
	            }
	            _this.refs["ucs-calendar-month-panel-tbody"].appendChild(tr);
	        }
	    },
	    renderYearPanel: function(){
	        return (
	            React.createElement(YearPanel, {curYear: this.state.curYear, yearCallBack: this.yearCallBack.bind(this), yearPanel: this._yearPanel})
	        );
	    },
	    _renderYearPanel: function(){
	        var yearPanelElement = this.renderYearPanel();

	        if (yearPanelElement === null) {
	            ReactDOM.render(React.createElement("noscript", null),this._yearPanel);
	        } else {
	            ReactDOM.render(yearPanelElement,this._yearPanel);
	        }
	    },
	    yearClickHandler: function(){
	        this._yearPanel = document.createElement('div');
	        this._yearPanel.className = "ucs-calendar-year-panel";
	        this.props.monthPanel.appendChild(this._yearPanel);

	        this._renderYearPanel();
	    },
	    yearCallBack: function(curYear){
	        this.state.curYear = curYear;
	        document.getElementById("ucs-calendar-month-panel-year-select-content").innerHTML = this.state.curYear;
	        this.monthChangeHandler();
	        this.props.monthPanel.removeChild(this._yearPanel);
	    },
	    prevYearHandler: function(){
	        this.state.curYear = this.state.curYear - 1;
	        document.getElementById("ucs-calendar-month-panel-year-select-content").innerHTML = this.state.curYear;
	        this.monthChangeHandler();
	    },
	    nextYearHandler: function(){
	        this.state.curYear = this.state.curYear + 1;
	        document.getElementById("ucs-calendar-month-panel-year-select-content").innerHTML = this.state.curYear;
	        this.monthChangeHandler();
	    },
	    render: function() {
	        return (
	            React.createElement("div", null, 
	                React.createElement("div", {className: "ucs-calendar-month-panel-header"}, 
	                    React.createElement("a", {className: "ucs-calendar-month-panel-prev-year-btn", role: "button", title: "Last year (Control + left)", onClick: this.prevYearHandler.bind(this)}), 
	                    React.createElement("a", {className: "ucs-calendar-month-panel-year-select", role: "button", title: "Choose a year", onClick: this.yearClickHandler.bind(this)}, 
	                        React.createElement("span", {className: "ucs-calendar-month-panel-year-select-content", id: "ucs-calendar-month-panel-year-select-content"}, this.state.curYear), 
	                        React.createElement("span", {className: "ucs-calendar-month-panel-year-select-arrow"}, "x")
	                    ), 
	                    React.createElement("a", {className: "ucs-calendar-month-panel-next-year-btn", role: "button", title: "Next year (Control + right)", onClick: this.nextYearHandler.bind(this)})
	                ), 
	                React.createElement("div", {className: "ucs-calendar-month-panel-body"}, 
	                    React.createElement("table", {className: "ucs-calendar-month-panel-table", cellspacing: "0", role: "grid"}, 
	                        React.createElement("tbody", {className: "ucs-calendar-month-panel-tbody", ref: "ucs-calendar-month-panel-tbody"}
	                        )
	                    )
	                )
	            )
	        );
	    }
	});

	module.exports = MonthPanel;

/***/ },
/* 44 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/2/22.
	 */
	var DecadePanel = __webpack_require__(45);
	var YearPanel = React.createClass({displayName: "YearPanel",
	    getDefaultProps: function(){
	        return {

	        }
	    },
	    getInitialState: function () {
	        var _this = this;
	        var _curYear = parseInt(_this.props.curYear);
	        var num = _curYear%10;
	        var _decadeStart = _curYear-num-1;
	        var _decadeEnd = _curYear + (10-num);
	        return {
	            curYear: _curYear,
	            decadeStart: _decadeStart,
	            decadeEnd: _decadeEnd
	        }
	    },
	    componentWillMount: function(){

	    },
	    componentDidMount: function(){
	        this.yearChangeHandler();
	    },
	    yearChangeHandler: function(){
	        var _this = this;
	        //_this.refs["ucs-calendar-year-panel-tbody"].innerHTML = "";
	        var element = _this.refs["ucs-calendar-year-panel-tbody"];
	        while (element.firstChild) {
	            element.removeChild(element.firstChild);
	        }
	        for(var i = _this.state.decadeStart; i <= _this.state.decadeEnd; i=i+3){
	            var tr = document.createElement('tr');
	            tr.setAttribute("role","row");
	            for(var j = 0; j < 3 ; j ++){
	                var year = i+j;
	                var td = document.createElement('td');
	                td.setAttribute("role","gridcell");
	                td.setAttribute("title",year+"");

	                if(year == _this.state.decadeStart){
	                    td.className = "ucs-calendar-year-panel-cell ucs-calendar-year-panel-last-decade-cell";
	                    td.onclick = function(e){
	                        _this.prevDecadeHandler(e);
	                    };
	                }else if(year == _this.state.decadeEnd){
	                    td.className = "ucs-calendar-year-panel-cell ucs-calendar-year-panel-next-decade-cell";
	                    td.onclick = function(e){
	                        _this.nextDecadeHandler(e);
	                    };
	                }else{
	                    if(year == _this.state.curYear){
	                        td.className = "ucs-calendar-year-panel-cell ucs-calendar-year-panel-selected-cell";
	                    }else{
	                        td.className = "ucs-calendar-year-panel-cell";
	                    }
	                    (function(year){
	                        td.onclick = function(){
	                            _this.props.yearCallBack(year);
	                        };
	                    })(year);
	                }

	                var a = document.createElement('a');
	                a.className = "ucs-calendar-year-panel-year";
	                a.innerHTML = year;
	                td.appendChild(a);

	                tr.appendChild(td);
	            }
	            _this.refs["ucs-calendar-year-panel-tbody"].appendChild(tr);
	        }
	    },
	    prevDecadeHandler: function(){
	        this.state.curYear = this.state.curYear - 10;
	        this.state.decadeStart = this.state.decadeStart - 10;
	        this.state.decadeEnd = this.state.decadeEnd - 10;
	        this.yearChangeHandler();
	        document.getElementById("ucs-calendar-year-panel-decade-select-content").innerHTML = (this.state.decadeStart+1)+"-"+(this.state.decadeEnd-1);
	    },
	    nextDecadeHandler: function(){
	        this.state.curYear = this.state.curYear + 10;
	        this.state.decadeStart = this.state.decadeStart + 10;
	        this.state.decadeEnd = this.state.decadeEnd + 10;
	        this.yearChangeHandler();
	        document.getElementById("ucs-calendar-year-panel-decade-select-content").innerHTML = (this.state.decadeStart+1)+"-"+(this.state.decadeEnd-1);
	    },
	    renderDecadePanel: function(){
	        return (
	            React.createElement(DecadePanel, {decadeStart: this.state.decadeStart+1, decadeCallBack: this.decadeCallBack.bind(this)})
	        );
	    },
	    _renderDecadePanel: function(){
	        var decadePanelElement = this.renderDecadePanel();

	        if (decadePanelElement === null) {
	            ReactDOM.render(React.createElement("noscript", null),this._decadePanel);
	        } else {
	            ReactDOM.render(decadePanelElement,this._decadePanel);
	        }
	    },
	    decadeClickHandler: function(){
	        this._decadePanel = document.createElement('div');
	        this._decadePanel.className = "ucs-calendar-decade-panel";
	        this.props.yearPanel.appendChild(this._decadePanel);

	        this._renderDecadePanel();
	    },
	    decadeCallBack: function(curYear){
	        this.state.curYear = curYear;
	        this.state.decadeStart = curYear-1;
	        this.state.decadeEnd = curYear+10;
	        this.yearChangeHandler();
	        this.props.yearPanel.removeChild(this._decadePanel);
	    },
	    render: function() {
	        return (
	            React.createElement("div", null, 
	                React.createElement("div", {className: "ucs-calendar-year-panel-header"}, 
	                    React.createElement("a", {className: "ucs-calendar-year-panel-prev-decade-btn", role: "button", title: "Last decade", onClick: this.prevDecadeHandler.bind(this)}), 
	                    React.createElement("a", {className: "ucs-calendar-year-panel-decade-select", role: "button", title: "Choose a decade", onClick: this.decadeClickHandler.bind(this)}, 
	                            React.createElement("span", {className: "ucs-calendar-year-panel-decade-select-content", id: "ucs-calendar-year-panel-decade-select-content"}, 
	                                (this.state.decadeStart+1)+"-"+(this.state.decadeEnd-1)
	                            ), 
	                        React.createElement("span", {className: "ucs-calendar-year-panel-decade-select-arrow"}, "x")
	                    ), 
	                    React.createElement("a", {className: "ucs-calendar-year-panel-next-decade-btn", role: "button", title: "Next decade", onClick: this.nextDecadeHandler.bind(this)})
	                ), 
	                React.createElement("div", {className: "ucs-calendar-year-panel-body"}, 
	                    React.createElement("table", {className: "ucs-calendar-year-panel-table", cellspacing: "0", role: "grid"}, 
	                        React.createElement("tbody", {className: "ucs-calendar-year-panel-tbody", ref: "ucs-calendar-year-panel-tbody"}

	                        )
	                    )
	                )
	            )
	        );
	    }
	});

	module.exports = YearPanel;

/***/ },
/* 45 */
/***/ function(module, exports) {

	/**
	 * Created by Administrator on 2017/2/22.
	 */
	var DecadePanel = React.createClass({displayName: "DecadePanel",
	    getDefaultProps: function(){
	        return {

	        }
	    },
	    getInitialState: function () {
	        var _this = this;
	        var _curDecadeStart = parseInt(_this.props.decadeStart);
	        var num = _curDecadeStart%100;
	        var _decadeArrStart = _curDecadeStart-num-10;
	        var _decadeArrEnd = _curDecadeStart + (100-num);
	        return {
	            curDecadeStart: _curDecadeStart,
	            decadeArrStart: _decadeArrStart,
	            decadeArrEnd: _decadeArrEnd
	        }
	    },
	    componentDidMount: function(){
	        this.decadeChangeHandler();
	    },
	    decadeChangeHandler: function(){
	        var _this = this;
	        //_this.refs["ucs-calendar-decade-panel-tbody"].innerHTML = "";
	        var element = _this.refs["ucs-calendar-decade-panel-tbody"];
	        while (element.firstChild) {
	            element.removeChild(element.firstChild);
	        }
	        for(var i = _this.state.decadeArrStart; i <= _this.state.decadeArrEnd; i=i+30){
	            var tr = document.createElement('tr');
	            tr.setAttribute("role","row");
	            for(var j = 0; j < 3 ; j ++){
	                var dc = i+j*10;
	                var td = document.createElement('td');
	                td.setAttribute("role","gridcell");

	                if(dc == _this.state.decadeArrStart){
	                    td.className = "ucs-calendar-decade-panel-cell ucs-calendar-decade-panel-last-century-cell";
	                    td.onclick = function(e){
	                        _this.prevDecadeHandler(e);
	                    };
	                }else if(dc == _this.state.decadeArrEnd){
	                    td.className = "ucs-calendar-decade-panel-cell ucs-calendar-decade-panel-next-century-cell";
	                    td.onclick = function(e){
	                        _this.nextDecadeHandler(e);
	                    };
	                }else{
	                    if(dc == _this.state.curDecadeStart){
	                        td.className = "ucs-calendar-decade-panel-cell ucs-calendar-decade-panel-selected-cell";
	                    }else{
	                        td.className = "ucs-calendar-decade-panel-cell";
	                    }
	                    (function(dc){
	                        td.onclick = function(){
	                            _this.props.decadeCallBack(dc);
	                        };
	                    })(dc);
	                }

	                var a = document.createElement('a');
	                a.className = "ucs-calendar-decade-panel-decade";
	                a.innerHTML = dc+"-"+(dc+9);
	                td.appendChild(a);

	                tr.appendChild(td);
	            }
	            _this.refs["ucs-calendar-decade-panel-tbody"].appendChild(tr);
	        }
	    },
	    prevDecadeHandler: function(){
	        this.state.curDecadeStart = this.state.curDecadeStart - 100;
	        this.state.decadeArrStart = this.state.decadeArrStart - 100;
	        this.state.decadeArrEnd = this.state.decadeArrEnd - 100;
	        this.decadeChangeHandler();
	        document.getElementById("ucs-calendar-decade-panel-century").innerHTML = (this.state.decadeArrStart+10)+"-"+(this.state.decadeArrEnd-1);
	    },
	    nextDecadeHandler: function(){
	        this.state.curDecadeStart = this.state.curDecadeStart + 100;
	        this.state.decadeArrStart = this.state.decadeArrStart + 100;
	        this.state.decadeArrEnd = this.state.decadeArrEnd + 100;
	        this.decadeChangeHandler();
	        document.getElementById("ucs-calendar-decade-panel-century").innerHTML = (this.state.decadeArrStart+10)+"-"+(this.state.decadeArrEnd-1);
	    },
	    render: function() {
	        return (
	            React.createElement("div", null, 
	                React.createElement("div", {className: "ucs-calendar-decade-panel-header"}, 
	                    React.createElement("a", {className: "ucs-calendar-decade-panel-prev-century-btn", role: "button", title: "Last century", onClick: this.prevDecadeHandler.bind(this)}), 
	                    React.createElement("div", {className: "ucs-calendar-decade-panel-century", id: "ucs-calendar-decade-panel-century"}, 
	                        (this.state.decadeArrStart+10)+"-"+(this.state.decadeArrEnd-1)
	                    ), 
	                    React.createElement("a", {className: "ucs-calendar-decade-panel-next-century-btn", role: "button", title: "Next century", onClick: this.nextDecadeHandler.bind(this)})
	                ), 
	                React.createElement("div", {className: "ucs-calendar-decade-panel-body"}, 
	                    React.createElement("table", {className: "ucs-calendar-decade-panel-table", cellspacing: "0", role: "grid"}, 
	                        React.createElement("tbody", {className: "ucs-calendar-decade-panel-tbody", ref: "ucs-calendar-decade-panel-tbody"}
	                        )
	                    )
	                )
	            )
	        );
	    }
	});

	module.exports = DecadePanel;

/***/ },
/* 46 */
/***/ function(module, exports, __webpack_require__) {

	/*
	 * Created by Administrator on 2017/3/31.
	 */

	var DatePicker = __webpack_require__(38);
	var DatePickerSearch = React.createClass({displayName: "DatePickerSearch",
	    getDefaultProps: function() {
	        return{
	            startTime:'',
	            endTime:'',
	            label:'时间',
	            connect:'至',
	            onChange:''

	        }
	    },
	    componentDidMount:function(){

	    },
	    onChange: function () {
	        var start = this.refs.startTime.getValue();
	        var end = this.refs.endTime.getValue();
	        this.props.onChange && this.props.onChange(start,end);
	    },
	    render: function () {
	        return (
	            React.createElement("div", {className: "form-group"}, 
	                React.createElement("label", null, this.props.label), 
	                React.createElement("div", {className: "input"}, 
	                    React.createElement(DatePicker, {ref: "startTime", onchange: this.onChange.bind(this), className: "input-control w170 bg-icon", curDate: this.props.startTime, maxDate: this.props.endTime}), 
	                    React.createElement("span", {className: " middle"}, this.props.connect), 
	                    React.createElement(DatePicker, {ref: "endTime", onchange: this.onChange.bind(this), type: "text", className: "input-control w170 bg-icon", curDate: this.props.endTime, minDate: this.props.startTime})
	                )
	            )
	        )
	    }
	})

	module.exports = DatePickerSearch;

/***/ }
/******/ ]);